PATH
Mac OS X Documentation >
Developer Tools >
Mac OS X Assembler Guide
Registers
Many instructions accept register names as operands. The available register names are listed in this section. These are the user registers
Register
|
Description
|
r0
-
r31
|
General Purpose Registers
|
f0
-
f31
|
Floating-Point Registers
|
xer
|
Fixed-Point Exception Register
|
fpscr
|
Floating-Point Status and Control Register
|
cr
|
Condition Register
|
lr
|
Link Register
|
ctr
|
Count Register
|
v0-v31
|
Vector Registers (AltiVec specific)
|
For instructions that take either 0 or a general purpose register as an operand,
r0
may not be used as either a zero or a register operand; the literal value
0
must be used instead.
These are the special registers
Registers
|
Description
|
sr0
-
sr15
|
Segment Registers
|
Mac OS X Assembler Reference: PowerPC Addressing Modes and Assembler Instructions
Previous | Contents | Next